package com.salelogistics.system.api.domain;

import com.salelogistics.common.core.annotation.Excel;
import com.salelogistics.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 材料类型对象 bas_material_type
 * 
 * @author ruoyi
 * @date 2023-07-10
 */
public class BasMaterialType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 材料类型编号 */
    private Long materialTypeId;

    /** 材料类别名称 */
    @Excel(name = "材料类别名称")
    private String materialTypeIname;

    /** 父级菜单 */
    @Excel(name = "父级菜单")
    private Long parentId;

    /** 排序编号 */
    @Excel(name = "排序编号")
    private Long orderNum;

    /** 菜单图标 */
    @Excel(name = "菜单图标")
    private String icon;

    /** 助记码 */
    @Excel(name = "助记码")
    private String mnemonicCode;

    /** 财务科目编码 */
    @Excel(name = "财务科目编码")
    private String financialCode;

    /** 委员会价 */
    @Excel(name = "委员会价")
    private String commissionPrice;

    /** 财务科目名称 */
    @Excel(name = "财务科目名称")
    private String financialName;

    /** 最近一次修改人 */
    private String editedBy;

    /** 最近一次修改时间 */
    private String editedTime;

    /** 启用状态 */
    private Long status;

    /** 删除状态 */
    private Long isDeleted;

    public void setMaterialTypeId(Long materialTypeId) 
    {
        this.materialTypeId = materialTypeId;
    }

    public Long getMaterialTypeId() 
    {
        return materialTypeId;
    }
    public void setMaterialTypeIname(String materialTypeIname) 
    {
        this.materialTypeIname = materialTypeIname;
    }

    public String getMaterialTypeIname() 
    {
        return materialTypeIname;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }
    public void setMnemonicCode(String mnemonicCode) 
    {
        this.mnemonicCode = mnemonicCode;
    }

    public String getMnemonicCode() 
    {
        return mnemonicCode;
    }
    public void setFinancialCode(String financialCode) 
    {
        this.financialCode = financialCode;
    }

    public String getFinancialCode() 
    {
        return financialCode;
    }
    public void setCommissionPrice(String commissionPrice) 
    {
        this.commissionPrice = commissionPrice;
    }

    public String getCommissionPrice() 
    {
        return commissionPrice;
    }
    public void setFinancialName(String financialName) 
    {
        this.financialName = financialName;
    }

    public String getFinancialName() 
    {
        return financialName;
    }
    public void setEditedBy(String editedBy) 
    {
        this.editedBy = editedBy;
    }

    public String getEditedBy() 
    {
        return editedBy;
    }
    public void setEditedTime(String editedTime) 
    {
        this.editedTime = editedTime;
    }

    public String getEditedTime() 
    {
        return editedTime;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("materialTypeId", getMaterialTypeId())
            .append("materialTypeIname", getMaterialTypeIname())
            .append("parentId", getParentId())
            .append("orderNum", getOrderNum())
            .append("icon", getIcon())
            .append("mnemonicCode", getMnemonicCode())
            .append("financialCode", getFinancialCode())
            .append("commissionPrice", getCommissionPrice())
            .append("financialName", getFinancialName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("editedBy", getEditedBy())
            .append("editedTime", getEditedTime())
            .append("status", getStatus())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
